Related Vulnerabilities: CVE-2021-3572  

A security issue has been found in pip before version 21.1. Maliciously formatted tags could be used to hijack a commit-based pin. Using the fact that all of unicode's whitespace characters were allowed as separators - which git allows as a part of a tag name - it is possible to force a different revision to be installed if an attacker gains access to the repository.

Severity Medium

Remote Yes

Type Silent downgrade

Description

A security issue has been found in pip before version 21.1. Maliciously formatted tags could be used to hijack a commit-based pin. Using the fact that all of unicode's whitespace characters were allowed as separators - which git allows as a part of a tag name - it is possible to force a different revision to be installed if an attacker gains access to the repository.

AVG-2036 python-pip 20.3.1-1 Medium Vulnerable

https://github.com/pypa/pip/pull/9827
https://github.com/pypa/pip/commit/ca832b2836e0bffa7cf95589acdcd71230f5834e